import Vue from 'vue';

var commonDialog;

// 创建普通提示框
function createConfirmDialog(commonData) {
    commonDialog = new Vue({
        el: "#confirmDialog",
        data: {
            commonData: commonData,
            loanAmoun:"",
            stage:"",
            eachPay:"",
            skcard:"",
            xykno:""
        },
        methods: {
            "submitInfo":function  () {
                $.publish("submitInfo");
            }
        }
    });

    return commonDialog;
}


module.exports = {
    createConfirmDialog: createConfirmDialog
}